package org.song.exception.myException;

import org.song.exception.result.ExceptionEnum;

/**
 * 自定义通用异常用来记录别的异常
 */
public class CommonException extends RuntimeException{
    public CommonException(String msg) {
        super(msg);
    }

    public CommonException() {
        super(ExceptionEnum.SYSTEM_ERROR.getMsg());
    }

}
